//
//  AreaModel.m
//  我的小汽车
//
//  Created by 邹壮壮29 on 15-1-8.
//  Copyright (c) 2015年 蓝欧科技. All rights reserved.
//

#import "AreaModel.h"

@implementation AreaModel
-(void)dealloc{
    [super dealloc];
}
+(instancetype)areaModelWithName:(NSString *)name{
    AreaModel *model = [[[AreaModel alloc]initWithName:name]autorelease];
    return model;
}
-(instancetype)initWithName:(NSString *)name{
    self = [super init];
    if (self) {
        self.name = name;
        self.areaArray = [NSMutableArray array];
    }
    return self;
}
@end
